package com.jymj.entity.fhtnty;

import com.jymj.entity.DlEntity;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.List;

/**
 * Created by ${lc} on 2020/8/31.
 */
public class MlxcFhEntity {
    private String xzqmc;
    private String code;
    private List<DlEntity> dlEntities;
/*    private List<GfEntity> gfEntities;
    private List<LhEntity> lhEntities;
    private List<LhbwEntity> lhbwEntities;*/
    private BigDecimal zj;//总价
    private BigDecimal sqzbt;//市区总补贴
    private BigDecimal czzj;//村镇资金
    private BigDecimal xmgm;//项目规模合计

    private String geom;

    public String getGeom() {
        return geom;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }

    public BigDecimal getXmgm() {
        return xmgm;
    }

    public void setXmgm(BigDecimal xmgm) {
        this.xmgm = xmgm;
    }

    public BigDecimal getSqzbt() {
        return sqzbt == null ? new BigDecimal(0) : sqzbt.setScale(1, RoundingMode.HALF_UP);
    }

    public void setSqzbt(BigDecimal sqzbt) {
        this.sqzbt = sqzbt;
    }

    public BigDecimal getCzzj() {
        return czzj == null ? new BigDecimal(0) : czzj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setCzzj(BigDecimal czzj) {
        this.czzj = czzj;
    }

    public BigDecimal getZj() {
        return zj == null ? new BigDecimal(0) : zj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setZj(BigDecimal zj) {
        this.zj = zj;
    }

    public String getXzqmc() {
        return xzqmc;
    }

    public void setXzqmc(String xzqmc) {
        this.xzqmc = xzqmc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<DlEntity> getDlEntities() {
        return dlEntities;
    }

    public void setDlEntities(List<DlEntity> dlEntities) {
        this.dlEntities = dlEntities;
    }

}
